<!DOCTYPE html>












  


<html class="theme-next pisces use-motion" lang="zh-CN">
<head><meta name="generator" content="Hexo 3.8.0">
  <meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
<meta name="theme-color" content="#222">
<meta name="google-site-verification" content="fjDZF2ivELjrZI5niPw1zuWUx-5Ta0Iy9unh0KSTioM">
























<link rel="stylesheet" href="/lib/font-awesome/css/font-awesome.min.css?v=4.6.2">

<link rel="stylesheet" href="/css/main.css?v=7.1.1">


  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png?v=7.1.1">


  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png?v=7.1.1">


  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png?v=7.1.1">


  <link rel="mask-icon" href="/images/logo.svg?v=7.1.1" color="#222">







<script id="hexo.configurations">
  var NexT = window.NexT || {};
  var CONFIG = {
    root: '/',
    scheme: 'Pisces',
    version: '7.1.1',
    sidebar: {"position":"left","display":"post","offset":12,"onmobile":false,"dimmer":false},
    back2top: true,
    back2top_sidebar: false,
    fancybox: false,
    fastclick: false,
    lazyload: false,
    tabs: true,
    motion: {"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},
    algolia: {
      applicationID: '',
      apiKey: '',
      indexName: '',
      hits: {"per_page":10},
      labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
    }
  };
</script>


  




  <meta name="description" content="技术路线 前端：vue+sass+axios+webpack 数据接口：node 地图接口：ArcGIS Server 数据库：Sql Server  配置本地SDK 4.10和ArcGIS API 4.10部署nginx 下载nginx  进入解压后文件夹(nginx.exe所在文件夹)，输入cmd命令start nginx启动nginx 下载SDK和API 百度网盘,提取码（cqlb）  将解">
<meta name="keywords" content="js,gis,arcgis api">
<meta property="og:type" content="article">
<meta property="og:title" content="webgis项目实战一">
<meta property="og:url" content="https://sean1224.github.io/2019/07/06/webgis项目实战一/index.html">
<meta property="og:site_name" content="時光深巷夜叶猫">
<meta property="og:description" content="技术路线 前端：vue+sass+axios+webpack 数据接口：node 地图接口：ArcGIS Server 数据库：Sql Server  配置本地SDK 4.10和ArcGIS API 4.10部署nginx 下载nginx  进入解压后文件夹(nginx.exe所在文件夹)，输入cmd命令start nginx启动nginx 下载SDK和API 百度网盘,提取码（cqlb）  将解">
<meta property="og:locale" content="zh-CN">
<meta property="og:image" content="https://sean1224.github.io/2019/07/06/webgis项目实战一/images/map1.png">
<meta property="og:updated_time" content="2019-07-06T09:50:41.510Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="webgis项目实战一">
<meta name="twitter:description" content="技术路线 前端：vue+sass+axios+webpack 数据接口：node 地图接口：ArcGIS Server 数据库：Sql Server  配置本地SDK 4.10和ArcGIS API 4.10部署nginx 下载nginx  进入解压后文件夹(nginx.exe所在文件夹)，输入cmd命令start nginx启动nginx 下载SDK和API 百度网盘,提取码（cqlb）  将解">
<meta name="twitter:image" content="https://sean1224.github.io/2019/07/06/webgis项目实战一/images/map1.png">





  
  
  <link rel="canonical" href="https://sean1224.github.io/2019/07/06/webgis项目实战一/">



<script id="page.configurations">
  CONFIG.page = {
    sidebar: "",
  };
</script>

  <title>webgis项目实战一 | 時光深巷夜叶猫</title>
  












  <noscript>
  <style>
  .use-motion .motion-element,
  .use-motion .brand,
  .use-motion .menu-item,
  .sidebar-inner,
  .use-motion .post-block,
  .use-motion .pagination,
  .use-motion .comments,
  .use-motion .post-header,
  .use-motion .post-body,
  .use-motion .collection-title { opacity: initial; }

  .use-motion .logo,
  .use-motion .site-title,
  .use-motion .site-subtitle {
    opacity: initial;
    top: initial;
  }

  .use-motion .logo-line-before i { left: initial; }
  .use-motion .logo-line-after i { right: initial; }
  </style>
</noscript>

</head>

<body itemscope itemtype="http://schema.org/WebPage" lang="zh-CN">

  
  
    
  

  <div class="container sidebar-position-left page-post-detail">
    <div class="headband"></div>

    <header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-wrapper">
  <div class="site-meta">
    

    <div class="custom-logo-site-title">
      <a href="/" class="brand" rel="start">
        <span class="logo-line-before"><i></i></span>
        <span class="site-title">時光深巷夜叶猫</span>
        <span class="logo-line-after"><i></i></span>
      </a>
    </div>
    
    
  </div>

  <div class="site-nav-toggle">
    <button aria-label="切换导航栏">
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
    </button>
  </div>
</div>



<nav class="site-nav">
  
    <ul id="menu" class="menu">
      
        
        
        
          
          <li class="menu-item menu-item-home">

    
    
    
      
    

    

    <a href="/" rel="section"><i class="menu-item-icon fa fa-fw fa-home"></i> <br>首页</a>

  </li>
        
        
        
          
          <li class="menu-item menu-item-categories">

    
    
    
      
    

    

    <a href="/categories/" rel="section"><i class="menu-item-icon fa fa-fw fa-th"></i> <br>分类</a>

  </li>
        
        
        
          
          <li class="menu-item menu-item-archives">

    
    
    
      
    

    

    <a href="/archives/" rel="section"><i class="menu-item-icon fa fa-fw fa-archive"></i> <br>归档</a>

  </li>
        
        
        
          
          <li class="menu-item menu-item-tags">

    
    
    
      
    

    

    <a href="/tags/" rel="section"><i class="menu-item-icon fa fa-fw fa-tags"></i> <br>标签</a>

  </li>
        
        
        
          
          <li class="menu-item menu-item-about">

    
    
    
      
    

    

    <a href="/about/" rel="section"><i class="menu-item-icon fa fa-fw fa-user"></i> <br>关于</a>

  </li>

      
      
    </ul>
  

  

  
</nav>



  



</div>
    </header>

    


    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
          
            

          
          <div id="content" class="content">
            

  <div id="posts" class="posts-expand">
    

  

  
  
  

  

  <article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="https://sean1224.github.io/2019/07/06/webgis项目实战一/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="name" content="li jian">
      <meta itemprop="description" content="出走半生，归来仍是少年">
      <meta itemprop="image" content="/images/avatar.png">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="時光深巷夜叶猫">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">webgis项目实战一

              
            
          </h1>
        

        <div class="post-meta">
          <span class="post-time">

            
            
            

            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              

              
                
              

              <time title="创建时间：2019-07-06 00:00:00 / 修改时间：17:50:41" itemprop="dateCreated datePublished" datetime="2019-07-06T00:00:00+08:00">2019-07-06</time>
            

            
              

              
            
          </span>

          
            <span class="post-category">
            
              <span class="post-meta-divider">|</span>
            
              <span class="post-meta-item-icon">
                <i class="fa fa-folder-o"></i>
              </span>
              
                <span class="post-meta-item-text">分类于</span>
              
              
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing"><a href="/categories/gis/" itemprop="url" rel="index"><span itemprop="name">gis</span></a></span>

                
                
                  ，
                
              
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing"><a href="/categories/gis/项目/" itemprop="url" rel="index"><span itemprop="name">项目</span></a></span>

                
                
              
            </span>
          

          
            
            
              
              <span class="post-comments-count">
                <span class="post-meta-divider">|</span>
                <span class="post-meta-item-icon">
                  <i class="fa fa-comment-o"></i>
                </span>
            
                <span class="post-meta-item-text">评论数：</span>
                <a href="/2019/07/06/webgis项目实战一/#comments" itemprop="discussionUrl">
                  <span class="post-comments-count valine-comment-count" data-xid="/2019/07/06/webgis项目实战一/" itemprop="commentCount"></span>
                </a>
              </span>
            
          

          
          

          

          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        <h4 id="技术路线"><a href="#技术路线" class="headerlink" title="技术路线"></a>技术路线</h4><ul>
<li>前端：vue+sass+axios+webpack</li>
<li>数据接口：node</li>
<li>地图接口：ArcGIS Server</li>
<li>数据库：Sql Server</li>
</ul>
<h4 id="配置本地SDK-4-10和ArcGIS-API-4-10"><a href="#配置本地SDK-4-10和ArcGIS-API-4-10" class="headerlink" title="配置本地SDK 4.10和ArcGIS API 4.10"></a>配置本地SDK 4.10和ArcGIS API 4.10</h4><h5 id="部署nginx"><a href="#部署nginx" class="headerlink" title="部署nginx"></a>部署nginx</h5><ul>
<li><p><a href="http://nginx.org/en/download.html" target="_blank" rel="noopener">下载nginx</a></p>
</li>
<li><p>进入解压后文件夹(nginx.exe所在文件夹)，输入cmd命令start nginx启动nginx</p>
<h5 id="下载SDK和API"><a href="#下载SDK和API" class="headerlink" title="下载SDK和API"></a>下载SDK和API</h5></li>
<li><p><a href="https://pan.baidu.com/s/1WP0r8feMhdVRUuM8Z9jn8Q" target="_blank" rel="noopener">百度网盘</a>,提取码（cqlb）</p>
</li>
<li><p>将解压后的arcgis_js_v410_sdk下的sdk文件夹，和arcgis_js_v410_api文件夹中的arcgis_js_api放入nginx文件夹的html中</p>
<h5 id="修改文件"><a href="#修改文件" class="headerlink" title="修改文件"></a>修改文件</h5></li>
<li>修改nginx配置文件conf/nginx.conf<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br></pre></td><td class="code"><pre><span class="line">   location /arcgis_js_api &#123;</span><br><span class="line">       root  html;</span><br><span class="line">    add_header	&apos;Access-Control-Allow-Origin&apos; &apos;*&apos;;</span><br><span class="line">   &#125;</span><br><span class="line">location /arcgis_js_sdk &#123;</span><br><span class="line">       root  html;</span><br><span class="line">    add_header	&apos;Access-Control-Allow-Origin&apos; &apos;*&apos;;</span><br><span class="line">   &#125;</span><br></pre></td></tr></table></figure>
</li>
</ul>
<ul>
<li><p>修改API地址文件</p>
<ul>
<li><p>修改 文件arcgis_js_api\library\4.10\init.js </p>
<p>  将<code>[HOSTNAME_AND_PATH_TO_JSAPI]</code>替换成<code>localhost:8080/arcgis_js_api/library/4.10/</code></p>
</li>
<li><p>修改文件：arcgis_js_api\library\4.10\dojo\dojo.js </p>
<p>  将<code>[HOSTNAME_AND_PATH_TO_JSAPI]</code>替换成<code>localhost:8080/arcgis_js_api/library/4.10/</code></p>
</li>
</ul>
</li>
</ul>
<h4 id="初始化Vue项目"><a href="#初始化Vue项目" class="headerlink" title="初始化Vue项目"></a>初始化Vue项目</h4><h5 id="准备"><a href="#准备" class="headerlink" title="准备"></a>准备</h5><ul>
<li>安装 <a href="https://nodejs.org/en/download/" target="_blank" rel="noopener">node</a></li>
<li>安装 vue: <code>npm install vue -g</code></li>
<li>安装 vue-cli: <code>npm install vue -cli -g</code><h5 id="初始化"><a href="#初始化" class="headerlink" title="初始化"></a>初始化</h5><figure class="highlight js"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br></pre></td><td class="code"><pre><span class="line">$ vue init webpack first-test-vue <span class="comment">// 初始化命令</span></span><br><span class="line">? Project name first-test-vue <span class="comment">// 项目名称</span></span><br><span class="line">? Project description A Vue.js project <span class="comment">// 项目描述</span></span><br><span class="line">? Author NathanYang <span class="comment">// 作者</span></span><br><span class="line">? Vue build standalone  <span class="comment">// 独立构建</span></span><br><span class="line">? Install vue-router? Yes  <span class="comment">// 安装路由</span></span><br><span class="line">? Use ESLint to lint your code? Yes  <span class="comment">// 安装 ESLint 代码检测工具</span></span><br><span class="line">? Pick an ESLint preset Standard</span><br><span class="line">? Setup unit tests <span class="keyword">with</span> Karma + Mocha? Yes</span><br><span class="line">? Setup e2e tests <span class="keyword">with</span> Nightwatch? No <span class="comment">// 端到端测试</span></span><br></pre></td></tr></table></figure>
</li>
</ul>
<h5 id="目录结构"><a href="#目录结构" class="headerlink" title="目录结构"></a>目录结构</h5><table>
<thead>
<tr>
<th>目录/文件</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>build</td>
<td>项目构建(webpack)相关代码</td>
</tr>
<tr>
<td>config</td>
<td>配置目录，包括端口号代理等</td>
</tr>
<tr>
<td>node_modules</td>
<td>npm 加载的项目依赖模块</td>
</tr>
<tr>
<td>src</td>
<td>这里是我们要开发的目录，基本上要做的事情都在这个目录里。里面包含了几个目录及文件：assets: 放置一些图片，如logo等。components: 目录里面放了一个组件文件，可以不用。App.vue: 项目入口文件，我们也可以直接将组件写这里，而不使用 components 目录。main.js: 项目的核心文件。</td>
</tr>
<tr>
<td>static</td>
<td>静态资源目录，如图片、字体等。</td>
</tr>
<tr>
<td>test</td>
<td>初始测试目录，可删除</td>
</tr>
<tr>
<td>.xxxx文件</td>
<td>这些是一些配置文件，包括语法配置，git配置等。</td>
</tr>
<tr>
<td>index.html</td>
<td>首页入口文件，你可以添加一些 meta 信息或统计代码啥的。</td>
</tr>
<tr>
<td>package.json</td>
<td>项目配置文件。</td>
</tr>
<tr>
<td>README.md</td>
<td>项目的说明文档，markdown 格式</td>
</tr>
</tbody>
</table>
<h5 id="安装包"><a href="#安装包" class="headerlink" title="安装包"></a>安装包</h5><ul>
<li><p><a href="https://github.com/Esri/esri-loader" target="_blank" rel="noopener"> esri-loader</a>: 一个小型库，可帮助在非Dojo应用程序中加载ArcGIS API for JavaScript模块    </p>
<p> <code>npm install --save esri-loader</code></p>
</li>
<li><p><a href="http://sass.bootcss.com/docs/sass-reference/" target="_blank" rel="noopener">Sass</a>: Sass 是对 CSS 的扩展，让 CSS 语言更强大、优雅。 它允许你使用变量、嵌套规则、 mixins、导入等众多功能， 并且完全兼容 CSS 语法</p>
<p> <code>npm install --save-dev sass-loader</code></p>
<p>  <code>npm install --save-dev node-sass</code></p>
</li>
</ul>
<h5 id="项目配置"><a href="#项目配置" class="headerlink" title="项目配置"></a>项目配置</h5><ul>
<li>自动打开浏览器：修改config/index.js <code>autoOpenBrowser:false</code>为<code>autoOpenBrowser:true</code></li>
<li>热启动： 修改呢config.json 在scripts/dev/webpack-dev-server 后添加<code>--hot</code></li>
</ul>
<h4 id="搭建第一个地图"><a href="#搭建第一个地图" class="headerlink" title="搭建第一个地图"></a>搭建第一个地图</h4><h6 id="引入组件"><a href="#引入组件" class="headerlink" title="引入组件"></a>引入组件</h6><p>1、App.vue引入css文件,对应本地部署的路径.<br><code>@import url(&#39;http://localhost:8080/arcgis_js_api/library/4.10/esri/themes/light/main.css&#39;);</code></p>
<p>2、通过esriLoader的loadModules方法引入ArcGIS中模块<br><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br></pre></td><td class="code"><pre><span class="line">const options = &#123; </span><br><span class="line">  url: &apos;http://localhost:8080/arcgis_js_api/library/4.10/dojo/dojo.js&apos;</span><br><span class="line">&#125;</span><br><span class="line">esriLoader.loadModules([</span><br><span class="line">    &apos;esri/Map&apos;,</span><br><span class="line">    &apos;esri/views/MapView&apos;,</span><br><span class="line">],options).then(([Map,MapView])=&gt;&#123;</span><br><span class="line">    this.Map=Map;</span><br><span class="line">    this.MapView=MapView;</span><br><span class="line">&#125;).catch(error =&gt; console.log(error))</span><br></pre></td></tr></table></figure></p>
<p>3、初始化地图<br><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br></pre></td><td class="code"><pre><span class="line">let _this = this; </span><br><span class="line">// 初始化地图</span><br><span class="line">this.currentMap = new this.Map(&#123;</span><br><span class="line">  basemap: &apos;streets&apos;</span><br><span class="line">&#125;);</span><br><span class="line">this.currentView = new this.MapView(&#123;</span><br><span class="line">  map: _this.currentMap,</span><br><span class="line">  container: &quot;map&quot;,</span><br><span class="line">  center: [121.256151, 31.328742],</span><br><span class="line">  zoom: 18</span><br><span class="line">&#125;);</span><br><span class="line">this.currentView.ui.remove(&quot;attribution&quot;);</span><br></pre></td></tr></table></figure></p>
<p>  4、生成地图</p>
<p>  <img src="./images/map1.png" alt="enter description here"></p>

      
    </div>

    

    
    
    

    

    
      
    
    

    

    <footer class="post-footer">
      
        <div class="post-tags">
          
            <a href="/tags/js/" rel="tag"># js</a>
          
            <a href="/tags/gis/" rel="tag"># gis</a>
          
            <a href="/tags/arcgis-api/" rel="tag"># arcgis api</a>
          
        </div>
      

      
      
      

      
        <div class="post-nav">
          <div class="post-nav-next post-nav-item">
            
              <a href="/2019/06/15/OpenLayer动态热力图/" rel="next" title="OpenLayer动态热力图">
                <i class="fa fa-chevron-left"></i> OpenLayer动态热力图
              </a>
            
          </div>

          <span class="post-nav-divider"></span>

          <div class="post-nav-prev post-nav-item">
            
          </div>
        </div>
      

      
      
    </footer>
  </div>
  
  
  
  </article>


  </div>


          </div>
          

  
    <div class="comments" id="comments">
    </div>

  



        </div>
        
          
  
  <div class="sidebar-toggle">
    <div class="sidebar-toggle-line-wrap">
      <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
    </div>
  </div>

  <aside id="sidebar" class="sidebar">
    <div class="sidebar-inner">

      

      
        <ul class="sidebar-nav motion-element">
          <li class="sidebar-nav-toc sidebar-nav-active" data-target="post-toc-wrap">
            文章目录
          </li>
          <li class="sidebar-nav-overview" data-target="site-overview-wrap">
            站点概览
          </li>
        </ul>
      

      <div class="site-overview-wrap sidebar-panel">
        <div class="site-overview">
          <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
            
              <img class="site-author-image" itemprop="image" src="/images/avatar.png" alt="li jian">
            
              <p class="site-author-name" itemprop="name">li jian</p>
              <div class="site-description motion-element" itemprop="description">出走半生，归来仍是少年</div>
          </div>

          
            <nav class="site-state motion-element">
              
                <div class="site-state-item site-state-posts">
                
                  <a href="/archives/">
                
                    <span class="site-state-item-count">5</span>
                    <span class="site-state-item-name">日志</span>
                  </a>
                </div>
              

              
                
                
                <div class="site-state-item site-state-categories">
                  
                    
                      <a href="/categories/">
                    
                  
                    
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                    <span class="site-state-item-count">6</span>
                    <span class="site-state-item-name">分类</span>
                  </a>
                </div>
              

              
                
                
                <div class="site-state-item site-state-tags">
                  
                    
                      <a href="/tags/">
                    
                  
                    
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                    <span class="site-state-item-count">6</span>
                    <span class="site-state-item-name">标签</span>
                  </a>
                </div>
              
            </nav>
          

          

          

          

          

          
          

          
            
          
          

        </div>
      </div>

      
      <!--noindex-->
        <div class="post-toc-wrap motion-element sidebar-panel sidebar-panel-active">
          <div class="post-toc">

            
            
            
            

            
              <div class="post-toc-content"><ol class="nav"><li class="nav-item nav-level-4"><a class="nav-link" href="#技术路线"><span class="nav-number">1.</span> <span class="nav-text">技术路线</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#配置本地SDK-4-10和ArcGIS-API-4-10"><span class="nav-number">2.</span> <span class="nav-text">配置本地SDK 4.10和ArcGIS API 4.10</span></a><ol class="nav-child"><li class="nav-item nav-level-5"><a class="nav-link" href="#部署nginx"><span class="nav-number">2.1.</span> <span class="nav-text">部署nginx</span></a></li><li class="nav-item nav-level-5"><a class="nav-link" href="#下载SDK和API"><span class="nav-number">2.2.</span> <span class="nav-text">下载SDK和API</span></a></li><li class="nav-item nav-level-5"><a class="nav-link" href="#修改文件"><span class="nav-number">2.3.</span> <span class="nav-text">修改文件</span></a></li></ol></li><li class="nav-item nav-level-4"><a class="nav-link" href="#初始化Vue项目"><span class="nav-number">3.</span> <span class="nav-text">初始化Vue项目</span></a><ol class="nav-child"><li class="nav-item nav-level-5"><a class="nav-link" href="#准备"><span class="nav-number">3.1.</span> <span class="nav-text">准备</span></a></li><li class="nav-item nav-level-5"><a class="nav-link" href="#初始化"><span class="nav-number">3.2.</span> <span class="nav-text">初始化</span></a></li><li class="nav-item nav-level-5"><a class="nav-link" href="#目录结构"><span class="nav-number">3.3.</span> <span class="nav-text">目录结构</span></a></li><li class="nav-item nav-level-5"><a class="nav-link" href="#安装包"><span class="nav-number">3.4.</span> <span class="nav-text">安装包</span></a></li><li class="nav-item nav-level-5"><a class="nav-link" href="#项目配置"><span class="nav-number">3.5.</span> <span class="nav-text">项目配置</span></a></li></ol></li><li class="nav-item nav-level-4"><a class="nav-link" href="#搭建第一个地图"><span class="nav-number">4.</span> <span class="nav-text">搭建第一个地图</span></a><ol class="nav-child"><li class="nav-item nav-level-6"><a class="nav-link" href="#引入组件"><span class="nav-number">4.0.1.</span> <span class="nav-text">引入组件</span></a></li></ol></li></ol></div>
            

          </div>
        </div>
      <!--/noindex-->
      

      

    </div>
  </aside>
  


        
      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="footer-inner">
        <div class="copyright">
  
  &copy;
  
  
  <span itemprop="copyrightYear">2019</span>
  <span class="with-love" id="animate">
    <i class="fa fa-user"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">li jian</span>

  

  
</div>









        








        
      </div>
    </footer>

    
      <div class="back-to-top">
        <i class="fa fa-arrow-up"></i>
        
      </div>
    

    

    

    
  </div>

  

<script>
  if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
    window.Promise = null;
  }
</script>


























  
  <script src="/lib/jquery/index.js?v=2.1.3"></script>

  
  <script src="/lib/velocity/velocity.min.js?v=1.2.1"></script>

  
  <script src="/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>


  


  <script src="/js/utils.js?v=7.1.1"></script>

  <script src="/js/motion.js?v=7.1.1"></script>



  
  


  <script src="/js/affix.js?v=7.1.1"></script>

  <script src="/js/schemes/pisces.js?v=7.1.1"></script>



  
  <script src="/js/scrollspy.js?v=7.1.1"></script>
<script src="/js/post-details.js?v=7.1.1"></script>



  


  <script src="/js/next-boot.js?v=7.1.1"></script>


  

  

  

  
  

<script src="//cdn1.lncld.net/static/js/3.11.1/av-min.js"></script>



<script src="//unpkg.com/valine/dist/Valine.min.js"></script>

<script>
  var GUEST = ['nick', 'mail', 'link'];
  var guest = 'nick,mail,link';
  guest = guest.split(',').filter(function(item) {
    return GUEST.indexOf(item) > -1;
  });
  new Valine({
    el: '#comments',
    verify: false,
    notify: false,
    appId: '1knHEkWhq6iHvNiswIIOHD9t-gzGzoHsz',
    appKey: 'wVGfMbCux8bx8W61eQVjLYzy',
    placeholder: 'Just go go',
    avatar: 'mm',
    meta: guest,
    pageSize: '10' || 10,
    visitor: false,
    lang: '' || 'zh-cn'
  });
</script>




  


  




  

  

  

  

  

  

  

  

  

  

  

  

  

  

</body>
</html>
